﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;

// https://go.microsoft.com/fwlink/?LinkId=234238 上介绍了“空白页”项模板

namespace 二年级上实验周课题1
{
    /// <summary>
    /// 可用于自身或导航至 Frame 内部的空白页。
    /// </summary>
    public sealed partial class NO4Line : Page
    {
        public NO4Line()
        {
            this.InitializeComponent();
        }
        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            Frame.Navigate(typeof(NO1Line));
        }

        private void Button_Click_2(object sender, RoutedEventArgs e)
        {
            Frame.Navigate(typeof(No2Line));
        }

        private void Button_Click_3(object sender, RoutedEventArgs e)
        {
            Frame.Navigate(typeof(NO3Line));
        }

        private void Button_Click_4(object sender, RoutedEventArgs e)
        {
            Frame.Navigate(typeof(NO4Line));
        }

        private void Button_Click_10(object sender, RoutedEventArgs e)
        {
            Frame.Navigate(typeof(NO10Line));
        }

        private void Button_Click_S1(object sender, RoutedEventArgs e)
        {
            Frame.Navigate(typeof(NOS1Line));
        }

        private void Button_Click_S8(object sender, RoutedEventArgs e)
        {
            Frame.Navigate(typeof(NOS8Line));
        }
        private void Station_Click(object sender, RoutedEventArgs e)
        {
            string Station_Text = (e.OriginalSource as UIElement).GetValue(NameProperty).ToString();
            Frame.Navigate(typeof(ZhanDian), Station_Text);
        }

        private void Button_Click_Return(object sender, RoutedEventArgs e)
        {
            Frame.Navigate(typeof(ZhanDian));
        }
    }
}
